|
Author |
Thread Statistics | Show CCP posts - 5 post(s) |
Steve Ronuken
Fuzzwork Enterprises Vote Steve Ronuken for CSM
4870
|
Posted - 2015.02.04 16:16:44 -
[1] - Quote
Already started working something up
(Implicit flow for oauth as a tip. No need for the secret)
Woo! CSM 9!
Fuzzwork Enterprises
Twitter: @fuzzysteve on Twitter
|
Steve Ronuken
Fuzzwork Enterprises Vote Steve Ronuken for CSM
4871
|
Posted - 2015.02.04 20:33:15 -
[2] - Quote
Ortho Loess wrote:Very tempted to join in. No idea what you mean here: Steve Ronuken wrote:(Implicit flow for oauth as a tip. No need for the secret)
Once I have something up and running, I'll share it, and you can see
So far, so good.
Woo! CSM 9!
Fuzzwork Enterprises
Twitter: @fuzzysteve on Twitter
|
Steve Ronuken
Fuzzwork Enterprises Vote Steve Ronuken for CSM
4873
|
Posted - 2015.02.04 21:57:51 -
[3] - Quote
https://www.fuzzwork.co.uk/market/viewer2/
\o/
(for some reason my firefox doesn't like it. But it runs fine in Chrome)
Woo! CSM 9!
Fuzzwork Enterprises
Twitter: @fuzzysteve on Twitter
|
Steve Ronuken
Fuzzwork Enterprises Vote Steve Ronuken for CSM
4874
|
Posted - 2015.02.05 00:07:49 -
[4] - Quote
Ortho Loess wrote:Bloody hell steve, that was quick! I get not found or denied when selecting items. I'll just assume that you've not implemented that part yet though.
Really?
It's working for me
What items are you trying, and which browser are you using? And which region?
(make sure you fully reload everything. Just to make sure everything is up to date)
Woo! CSM 9!
Fuzzwork Enterprises
Twitter: @fuzzysteve on Twitter
|
Steve Ronuken
Fuzzwork Enterprises Vote Steve Ronuken for CSM
4874
|
Posted - 2015.02.05 00:36:34 -
[5] - Quote
That's weird
Just worked for me
Woo! CSM 9!
Fuzzwork Enterprises
Twitter: @fuzzysteve on Twitter
|
Steve Ronuken
Fuzzwork Enterprises Vote Steve Ronuken for CSM
4874
|
Posted - 2015.02.05 00:59:20 -
[6] - Quote
Ahhhhhh...
That explains it.
Updated now to pull if you click on the picture too The image inherits the click handler from the li it's on. But as Dreae noted, it's looking for the cresthref data attribute on the clicked thing. That's now added to the img too.
Woo! CSM 9!
Fuzzwork Enterprises
Twitter: @fuzzysteve on Twitter
|
Steve Ronuken
Fuzzwork Enterprises Vote Steve Ronuken for CSM
4889
|
Posted - 2015.02.09 17:07:40 -
[7] - Quote
Mine now has the ability to set the language (It needs some tweaking, but that's just UI. the functionality is there)
https://www.fuzzwork.co.uk/market/viewer2/
Short version: CREST sends localised data, depending on the Accept-Language header in the request. So it will default to the language your browser is set for. If you override the header, it'll send in whatever language you want (that it knows)
Woo! CSM 9!
Fuzzwork Enterprises
Twitter: @fuzzysteve on Twitter
|
Steve Ronuken
Fuzzwork Enterprises Vote Steve Ronuken for CSM
4891
|
Posted - 2015.02.10 02:15:23 -
[8] - Quote
it comes from the accept-language header being passed around.
In firefox, you can set the languages using options-> content->languages
In chrome: settings -> advanced -> languages and input
The default, on my tool, is to default to the browser settings. the others set the header directly.
Woo! CSM 9!
Fuzzwork Enterprises
Twitter: @fuzzysteve on Twitter
|
Steve Ronuken
Fuzzwork Enterprises Vote Steve Ronuken for CSM
4904
|
Posted - 2015.02.11 23:48:58 -
[9] - Quote
Did you run into any problems with using angular.js and oauth? I've not used it myself, but I've heard a few people saying they've not been able to get it working.
Woo! CSM 9!
Fuzzwork Enterprises
Twitter: @fuzzysteve on Twitter
|
Steve Ronuken
Fuzzwork Enterprises Vote Steve Ronuken for CSM
4938
|
Posted - 2015.02.18 12:41:58 -
[10] - Quote
Ortho Loess wrote:FoxFour, where's your entry?! :P
One thing that came up during this:
As far as I can tell, we all used the regions endpoint to get the list of regions to display in a drop down menu. This is the obvious thing to do, as you need the links from that endpoint to get to the market orders.
However, the list included all the W-space and jove regions. There's only one wormhole system that has a market, so these really don't belong in the list. I couldn't think of any good way to filter them out though, other than to do a further call for each region, and see if it has a description. From looking it seemed that W-Space regions are missing the description, but I didn't check all regions to make sure.
There was little point implementing that, since it would be no less hacky to just include a list of regions to filter on (they really don't change very often!)
Is there a better way?
if (!value.name.match('.-R00')) {
Is what I did to filter out all the wormhole regions. They all start A to E, dash, R then a bunch of zeros. No other region is named like that, so it's a pretty reliable way to do it :)
Woo! CSM 9!
Fuzzwork Enterprises
Twitter: @fuzzysteve on Twitter
|
|
|
|
|